/* 导航栏样式 */
.bottom-nav-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  z-index: 1000;
}

.bottom-nav {
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
}

.nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 20px;
  cursor: pointer;
  border-radius: 50px;
  transition: all var(--transition-duration) ease;
  color: var(--text-secondary);
  flex-direction: column;
  gap: 4px;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary-color);
  background-color: rgba(64, 158, 255, 0.1);
}

.nav-item .el-icon {
  font-size: 18px;
}

.nav-item span {
  font-size: 14px;
}

/* 搜索栏样式 */
.nav-item.search-item {
  position: relative;
  transition: all var(--transition-duration) ease;
}

.nav-item.search-item.expanded {
  flex: 3;
  background-color: rgba(255, 255, 255, 0.9);
}

.search-input {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 20px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-duration) ease;
}

.nav-item.expanded .search-input {
  opacity: 1;
  visibility: visible;
}
